#ifndef __MY_DEC_H__
#define __MY_DEC_H__
#
# //////////////////////////////////////////////////////////////////////////
# // 2013/01/07
# // xushediao1987@163.com
# //
# // MY_DEC(x) 对x进行递减操作, 0 <= x <= 256 0 <= MY_DEC(x) < 256
# // MY_DEC(0) ==> 0
# // MY_DEC(1) ==> 0
# // MY_DEC(2) ==> 1
# //    ....
# // MY_DEC(256) ==> 255 
# //
# //////////////////////////////////////////////////////////////////////////
#
#
#define MY_DEC(X) MY_DEC_I(X)
#define MY_DEC_I(I) MY_DEC_I_ ## I
#
#define MY_DEC_I_0 0
#define MY_DEC_I_1 0 
#define MY_DEC_I_2 1 
#define MY_DEC_I_3 2 
#define MY_DEC_I_4 3 
#define MY_DEC_I_5 4 
#define MY_DEC_I_6 5 
#define MY_DEC_I_7 6 
#define MY_DEC_I_8 7 
#define MY_DEC_I_9 8 
#define MY_DEC_I_10 9 
#define MY_DEC_I_11 10 
#define MY_DEC_I_12 11 
#define MY_DEC_I_13 12 
#define MY_DEC_I_14 13 
#define MY_DEC_I_15 14 
#define MY_DEC_I_16 15 
#define MY_DEC_I_17 16 
#define MY_DEC_I_18 17 
#define MY_DEC_I_19 18 
#define MY_DEC_I_20 19 
#define MY_DEC_I_21 20 
#define MY_DEC_I_22 21 
#define MY_DEC_I_23 22 
#define MY_DEC_I_24 23 
#define MY_DEC_I_25 24 
#define MY_DEC_I_26 25 
#define MY_DEC_I_27 26 
#define MY_DEC_I_28 27 
#define MY_DEC_I_29 28 
#define MY_DEC_I_30 29 
#define MY_DEC_I_31 30 
#define MY_DEC_I_32 31 
#define MY_DEC_I_33 32 
#define MY_DEC_I_34 33 
#define MY_DEC_I_35 34 
#define MY_DEC_I_36 35 
#define MY_DEC_I_37 36 
#define MY_DEC_I_38 37 
#define MY_DEC_I_39 38 
#define MY_DEC_I_40 39 
#define MY_DEC_I_41 40 
#define MY_DEC_I_42 41 
#define MY_DEC_I_43 42 
#define MY_DEC_I_44 43 
#define MY_DEC_I_45 44 
#define MY_DEC_I_46 45 
#define MY_DEC_I_47 46 
#define MY_DEC_I_48 47 
#define MY_DEC_I_49 48 
#define MY_DEC_I_50 49 
#define MY_DEC_I_51 50 
#define MY_DEC_I_52 51 
#define MY_DEC_I_53 52 
#define MY_DEC_I_54 53 
#define MY_DEC_I_55 54 
#define MY_DEC_I_56 55 
#define MY_DEC_I_57 56 
#define MY_DEC_I_58 57 
#define MY_DEC_I_59 58 
#define MY_DEC_I_60 59 
#define MY_DEC_I_61 60 
#define MY_DEC_I_62 61 
#define MY_DEC_I_63 62 
#define MY_DEC_I_64 63 
#define MY_DEC_I_65 64 
#define MY_DEC_I_66 65 
#define MY_DEC_I_67 66 
#define MY_DEC_I_68 67 
#define MY_DEC_I_69 68 
#define MY_DEC_I_70 69 
#define MY_DEC_I_71 70 
#define MY_DEC_I_72 71 
#define MY_DEC_I_73 72 
#define MY_DEC_I_74 73 
#define MY_DEC_I_75 74 
#define MY_DEC_I_76 75 
#define MY_DEC_I_77 76 
#define MY_DEC_I_78 77 
#define MY_DEC_I_79 78 
#define MY_DEC_I_80 79 
#define MY_DEC_I_81 80 
#define MY_DEC_I_82 81 
#define MY_DEC_I_83 82 
#define MY_DEC_I_84 83 
#define MY_DEC_I_85 84 
#define MY_DEC_I_86 85 
#define MY_DEC_I_87 86 
#define MY_DEC_I_88 87 
#define MY_DEC_I_89 88 
#define MY_DEC_I_90 89 
#define MY_DEC_I_91 90 
#define MY_DEC_I_92 91 
#define MY_DEC_I_93 92 
#define MY_DEC_I_94 93 
#define MY_DEC_I_95 94 
#define MY_DEC_I_96 95 
#define MY_DEC_I_97 96 
#define MY_DEC_I_98 97 
#define MY_DEC_I_99 98 
#define MY_DEC_I_100 99 
#define MY_DEC_I_101 100 
#define MY_DEC_I_102 101 
#define MY_DEC_I_103 102 
#define MY_DEC_I_104 103 
#define MY_DEC_I_105 104 
#define MY_DEC_I_106 105 
#define MY_DEC_I_107 106 
#define MY_DEC_I_108 107 
#define MY_DEC_I_109 108 
#define MY_DEC_I_110 109 
#define MY_DEC_I_111 110 
#define MY_DEC_I_112 111 
#define MY_DEC_I_113 112 
#define MY_DEC_I_114 113 
#define MY_DEC_I_115 114 
#define MY_DEC_I_116 115 
#define MY_DEC_I_117 116 
#define MY_DEC_I_118 117 
#define MY_DEC_I_119 118 
#define MY_DEC_I_120 119 
#define MY_DEC_I_121 120 
#define MY_DEC_I_122 121 
#define MY_DEC_I_123 122 
#define MY_DEC_I_124 123 
#define MY_DEC_I_125 124 
#define MY_DEC_I_126 125 
#define MY_DEC_I_127 126 
#define MY_DEC_I_128 127 
#define MY_DEC_I_129 128 
#define MY_DEC_I_130 129 
#define MY_DEC_I_131 130 
#define MY_DEC_I_132 131 
#define MY_DEC_I_133 132 
#define MY_DEC_I_134 133 
#define MY_DEC_I_135 134 
#define MY_DEC_I_136 135 
#define MY_DEC_I_137 136 
#define MY_DEC_I_138 137 
#define MY_DEC_I_139 138 
#define MY_DEC_I_140 139 
#define MY_DEC_I_141 140 
#define MY_DEC_I_142 141 
#define MY_DEC_I_143 142 
#define MY_DEC_I_144 143 
#define MY_DEC_I_145 144 
#define MY_DEC_I_146 145 
#define MY_DEC_I_147 146 
#define MY_DEC_I_148 147 
#define MY_DEC_I_149 148 
#define MY_DEC_I_150 149 
#define MY_DEC_I_151 150 
#define MY_DEC_I_152 151 
#define MY_DEC_I_153 152 
#define MY_DEC_I_154 153 
#define MY_DEC_I_155 154 
#define MY_DEC_I_156 155 
#define MY_DEC_I_157 156 
#define MY_DEC_I_158 157 
#define MY_DEC_I_159 158 
#define MY_DEC_I_160 159 
#define MY_DEC_I_161 160 
#define MY_DEC_I_162 161 
#define MY_DEC_I_163 162 
#define MY_DEC_I_164 163 
#define MY_DEC_I_165 164 
#define MY_DEC_I_166 165 
#define MY_DEC_I_167 166 
#define MY_DEC_I_168 167 
#define MY_DEC_I_169 168 
#define MY_DEC_I_170 169 
#define MY_DEC_I_171 170 
#define MY_DEC_I_172 171 
#define MY_DEC_I_173 172 
#define MY_DEC_I_174 173 
#define MY_DEC_I_175 174 
#define MY_DEC_I_176 175 
#define MY_DEC_I_177 176 
#define MY_DEC_I_178 177 
#define MY_DEC_I_179 178 
#define MY_DEC_I_180 179 
#define MY_DEC_I_181 180 
#define MY_DEC_I_182 181 
#define MY_DEC_I_183 182 
#define MY_DEC_I_184 183 
#define MY_DEC_I_185 184 
#define MY_DEC_I_186 185 
#define MY_DEC_I_187 186 
#define MY_DEC_I_188 187 
#define MY_DEC_I_189 188 
#define MY_DEC_I_190 189 
#define MY_DEC_I_191 190 
#define MY_DEC_I_192 191 
#define MY_DEC_I_193 192 
#define MY_DEC_I_194 193 
#define MY_DEC_I_195 194 
#define MY_DEC_I_196 195 
#define MY_DEC_I_197 196 
#define MY_DEC_I_198 197 
#define MY_DEC_I_199 198 
#define MY_DEC_I_200 199 
#define MY_DEC_I_201 200 
#define MY_DEC_I_202 201 
#define MY_DEC_I_203 202 
#define MY_DEC_I_204 203 
#define MY_DEC_I_205 204 
#define MY_DEC_I_206 205 
#define MY_DEC_I_207 206 
#define MY_DEC_I_208 207 
#define MY_DEC_I_209 208 
#define MY_DEC_I_210 209 
#define MY_DEC_I_211 210 
#define MY_DEC_I_212 211 
#define MY_DEC_I_213 212 
#define MY_DEC_I_214 213 
#define MY_DEC_I_215 214 
#define MY_DEC_I_216 215 
#define MY_DEC_I_217 216 
#define MY_DEC_I_218 217 
#define MY_DEC_I_219 218 
#define MY_DEC_I_220 219 
#define MY_DEC_I_221 220 
#define MY_DEC_I_222 221 
#define MY_DEC_I_223 222 
#define MY_DEC_I_224 223 
#define MY_DEC_I_225 224 
#define MY_DEC_I_226 225 
#define MY_DEC_I_227 226 
#define MY_DEC_I_228 227 
#define MY_DEC_I_229 228 
#define MY_DEC_I_230 229 
#define MY_DEC_I_231 230 
#define MY_DEC_I_232 231 
#define MY_DEC_I_233 232 
#define MY_DEC_I_234 233 
#define MY_DEC_I_235 234 
#define MY_DEC_I_236 235 
#define MY_DEC_I_237 236 
#define MY_DEC_I_238 237 
#define MY_DEC_I_239 238 
#define MY_DEC_I_240 239 
#define MY_DEC_I_241 240 
#define MY_DEC_I_242 241 
#define MY_DEC_I_243 242 
#define MY_DEC_I_244 243 
#define MY_DEC_I_245 244 
#define MY_DEC_I_246 245 
#define MY_DEC_I_247 246 
#define MY_DEC_I_248 247 
#define MY_DEC_I_249 248 
#define MY_DEC_I_250 249 
#define MY_DEC_I_251 250 
#define MY_DEC_I_252 251 
#define MY_DEC_I_253 252 
#define MY_DEC_I_254 253 
#define MY_DEC_I_255 254 
#define MY_DEC_I_256 255 
#endif
